//noinspection LessUnresolvedVariable
@prefix-cls: ~'@{namespace}-miao-plugin-help-panel';

.font-YS {
  font-family: Number, "汉仪文黑-65W", YS, PingFangSC-Medium, "PingFang SC", sans-serif;
}

.font-NZBZ {
  font-family: Number, "印品南征北战NZBZ体", NZBZ, "汉仪文黑-65W", YS, PingFangSC-Medium, "PingFang SC", sans-serif;
}

.@{prefix-cls} {
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    line-height: initial;
  }

  .container {
    //background: url(../common/theme/main-01.png) top left no-repeat;
    background-size: 100% auto;
    width: 830px;
    font-size: 18px;
    color: #1e1f20;
    font-family: Number, '汉仪文黑-65W', YS, PingFangSC-Medium, 'PingFang SC', sans-serif;
    transform-origin: 0 0;
  }

  .head-box {
    border-radius: 15px;
    padding: 10px 20px;
    position: relative;
    color: #fff;
    margin-top: 30px;

    .title {
      .font-NZBZ;
      font-size: 36px;
      text-shadow: 0 0 1px #000, 1px 1px 3px rgba(0, 0, 0, 0.9);

      .label {
        display: inline-block;
        margin-left: 10px;
      }
    }

    .genshin_logo {
      position: absolute;
      top: 1px;
      right: 15px;
      width: 97px;
    }

    .label {
      font-size: 16px;
      text-shadow: 0 0 1px #000, 1px 1px 3px rgba(0, 0, 0, 0.9);

      span {
        color: #d3bc8e;
        padding: 0 2px;
      }
    }
  }

  .head-box {
    margin: 60px 0 0 0;
    padding-bottom: 0;
  }

  .head-box .title {
    font-size: 50px;
  }

  .cont-box {
    border-radius: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 5px 10px 0 rgb(0 0 0 / 15%);
    position: relative;
  }

  .help-group {
    font-size: 18px;
    font-weight: bold;
    padding: 15px 15px 10px 20px;
  }

  .help-table {
    text-align: center;
    border-collapse: collapse;
    margin: 0;
    border-radius: 0 0 10px 10px;
    display: table;
    overflow: hidden;
    width: 100%;
    color: #fff;
  }

  .help-table .tr {
    display: table-row;
  }

  .help-table .td,
  .help-table .th {
    font-size: 14px;
    display: table-cell;
    box-shadow: 0 0 1px 0 #888 inset;
    padding: 12px 0 12px 50px;
    line-height: 24px;
    position: relative;
    text-align: left;
  }

  .help-table .tr:last-child .td {
    padding-bottom: 12px;
  }

  .help-table .th {
    background: rgba(34, 41, 51, 0.5);
  }

  .help-icon {
    //width: 40px;
    //height: 40px;
    display: block;
    position: absolute;
    //background: url("icon.png") 0 0 no-repeat;
    //background-size: 500px auto;
    border-radius: 5px;
    left: 6px;
    top: 12px;
    //transform: scale(0.85);

    width: 80px;
    height: 80px;
    transform: scale(0.425) translateX(-47px) translateY(-47px);
  }

  .help-title {
    display: block;
    color: #d3bc8e;
    font-size: 16px;
    line-height: 24px;
  }

  .help-desc {
    display: block;
    font-size: 13px;
    line-height: 18px;
  }

  .copyright {
    font-size: 14px;
    text-align: center;
    color: #fff;
    position: relative;
    padding-left: 10px;
    text-shadow: 1px 1px 1px #000;
    margin: 10px 0;

    .version {
      color: #d3bc8e;
      display: inline-block;
      padding: 0 3px;
    }
  }

  /* --- custom --- */

  .container {
    box-shadow: 0 0 15px #888;
    border-radius: 10px;
    width: 830px;
    padding: 20px 15px 10px 15px;
    background-size: 100% auto;
  }

  .help-table .td {
    &:not(.empty) {
      cursor: pointer;
      transition: all 0.3s;

      &:hover {
        background-color: #3983a3;
        z-index: 100;
      }
    }

    &.active {
      background-color: #3983a3;
    }
  }

  .help-group {
    cursor: pointer;

    span {
      display: block;
      transform-origin: 35px 10px;
      transition: all 0.15s;
    }

    &:hover span {
      opacity: 0.8;
      transform: scale(1.1);
    }
  }

}
